Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor: improve the UX of profiler graph tooltip #17892

Merged
merged 3 commits into from
Sep 18, 2024

Conversation

ShaileshParmar11
Copy link
Contributor

@ShaileshParmar11 ShaileshParmar11 commented Sep 17, 2024

Minor: improve the UX of the profiler graph tooltip
image
image

Fixed: repetitive data was displayed in tooltip
image

Type of change:

  • Bug fix
  • Improvement
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>
  • I have commented on my code, particularly in hard-to-understand areas.
  • For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

Copy link
Contributor

github-actions bot commented Sep 17, 2024

Jest test Coverage

UI tests summary

Lines Statements Branches Functions
Coverage: 64%
64.31% (37352/58080) 40.96% (14784/36096) 43.07% (4507/10465)

@@ -144,19 +149,23 @@ export const CustomTooltip = (props: DataInsightChartTooltipProps) => {
active,
payload = [],
valueFormatter,
showFullTimestamp = false,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's have a axisFormatter to allow any time rendering instead restricting it to certain fixed typed

Copy link

Copy link

@ShaileshParmar11 ShaileshParmar11 merged commit ec6a662 into main Sep 18, 2024
16 checks passed
@ShaileshParmar11 ShaileshParmar11 deleted the aligne-tooltip-for-profiler branch September 18, 2024 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test Add this label to run secure Github workflows on PRs UI UI specific issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants